<?php

namespace app\admin\controller;
use think\Session;
use think\Controller;
class Index extends Allow{
	public function getIndex(){
		if(session::get("islogin")!=1){
			$this->error("请先登录","/adminlogin/login");
		}else{
			echo "我是首页";
		}
	}
}
